package com.nativetalk.bean.study.feedback;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * TdNtStudyTeachFeedback entity. @author MyEclipse Persistence Tools
 */

public class TdNtStudyTeachFeedbackInset implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields

	private Integer stf_id;
	@Range(min=1,max=5,message="{TIPAUTHORERROR}")
	private Integer stf_cate;
	@NotNull(message = "{STFB.TITLE.REGEXP}")
	@Length(min = 1,max = 16, message = "{STFB.TITLE.REGEXP}")
	private String stf_title;
	@NotNull(message = "{STFB.CONTENT.REGEXP}")
	@Length(min = 1,max = 60, message = "{STFB.CONTENT.REGEXP}")
	private String stf_content;

	private Integer memb_id;
	private Integer tea_id;
	@Range(min=0,message="{TIPAUTHORERROR}")
	private Integer stt_id;
	private Integer user_cate;

	public Integer getUser_cate() {
		return user_cate;
	}

	public void setUser_cate(Integer user_cate) {
		this.user_cate = user_cate;
	}

	public Integer getStt_id() {
		return stt_id;
	}

	public void setStt_id(Integer stt_id) {
		this.stt_id = stt_id;
	}

	public Integer getStf_id() {
		return stf_id;
	}
	public void setStf_id(Integer stf_id) {
		this.stf_id = stf_id;
	}
	public Integer getStf_cate() {
		return stf_cate;
	}
	public void setStf_cate(Integer stf_cate) {
		this.stf_cate = stf_cate;
	}
	public String getStf_title() {
		return stf_title;
	}
	public void setStf_title(String stf_title) {
		this.stf_title = stf_title;
	}
	public String getStf_content() {
		return stf_content;
	}
	public void setStf_content(String stf_content) {
		this.stf_content = stf_content;
	}
	public Integer getMemb_id() {
		return memb_id;
	}
	public void setMemb_id(Integer memb_id) {
		this.memb_id = memb_id;
	}
	public Integer getTea_id() {
		return tea_id;
	}
	public void setTea_id(Integer tea_id) {
		this.tea_id = tea_id;
	}

	
}